// 1. typeof

console.log(typeof 1);//number
console.log(typeof '1');//string
console.log(typeof true);//boolean
console.log(typeof undefined);//undefined
console.log(typeof null);//object
console.log(typeof []);//object
console.log(typeof {});//object
console.log(typeof function(){});//function
console.log(typeof Symbol());//symbol
console.log(typeof 1232321n);//bigint

// 2. instanceof
console.log([] instanceof Array);//true
console.log({} instanceof Object);//true
console.log(function(){} instanceof Function);//true
console.log(Symbol() instanceof Symbol);//false
console.log(1232321n instanceof BigInt);//false
console.log(null instanceof Null);//false
console.log([] instanceof Object);//true










